package com.boot.system.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.framework.common.DropList;
import com.boot.system.dto.SysRoleDTO;
import com.boot.system.entity.SysRoleEntity;

import java.util.List;
import java.util.Map;

public interface ISysRoleService extends IService<SysRoleEntity> {

    IPage<SysRoleDTO> selectPage(Map<String, Object> params);

    List<SysRoleDTO> selectList(Map<String, Object> params);

    /**
     * 角色下拉选择框
     *
     * @return 下拉框
     */
    List<DropList> dropList();

    List<SysRoleDTO> selectByIds(List<String> ids);
}